<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <title>Change Log - Template - A CodeIgniter Library</title>
   <style type="text/css" media="all">@import url('./userguide.css');</style>
</head>

<body>

   <div id="header">
      <span class="lib-name">Template Library for CodeIgniter, the PHP Framework</span>
      <div id="search">
         <form action="http://www.google.com/search" method="get">
            <input type="hidden" value="williamsconcepts.com/codeigniter/libraries/template/" id="as_sitesearch" name="as_sitesearch"/>
            <label for="q">Search User Guide</label>
            <input type="text" value="" maxlength="255" size="31" id="q" name="q" style="width: 200px;" class="input"/> 
            <input type="submit" value="Go" name="sa" class="submit"/>
         </form>
      </div>
      <ul id="navigation">
         <li><a href="./index.html">Introduction</a></li>
         <li><a href="./start.html">Getting Started</a></li>
         <li><a href="./reference.html">User Guide</a></li>
         <li><a href="./download.html">Download Template Library</a></li>
         <li><a href="./discussion.html">Discussion</a></li>
      </ul>
   </div>
   
   <!-- START CONTENT -->
   <div id="content">
   
      <h1>Change Log and Update Instructions</h1>
      
      <h2 id="v141">Version 1.4.1</h2>
      <p>Release Date: November 1, 2008</p>
      <p>Version 1.4.1 is just a maintenance release and contains no additional features.</p>
      <ul>
         	<li>Renamed the Template class to <samp>CI_Template</samp>. This means Template can be
						replaced/overloaded like core CI classes, and also allows you to have a template.php controller.</li>
					<li>Fixed a Docblock typo in <dfn>libraries/Template.php</dfn> that defined <var>@version</var> 
						incorrectly as 1.2</li>
					<li>A few updates to the documentation, which now ships with Template. Look for the 
						<dfn>docs</dfn> folder in the ZIP.</li>
      </ul>
      
      <h3 class="upgrade">Upgrading from 1.4 to 1.4.1</h3>
      <ul>
         <li>Replace <dfn>application/libraries/Template.php</dfn> with the new <dfn>Template.php</dfn> in 1.4.1</li>
      </ul>
      
      <h2 id="v14">Version 1.4</h2>
      <p>Release Date: August 17, 2008</p>
      <p>Version 1.4 introduces a method for dynamically setting the master template file.</p>
      <ul>
         <li>Added the <samp>set_master_temlplate()</samp> method for switching between template files that share
            the same regions.</li>
      </ul>
      
      <h3 class="upgrade">Upgrading from 1.3 to 1.4</h3>
      <ul>
         <li>Replace <dfn>application/libraries/Template.php</dfn> with the new <dfn>Template.php</dfn> in 1.4</li>
      </ul>
      
      <h2 id="v13">Version 1.3</h2>
      <p>Release Date: August 15, 2008</p>
      <p>Version 1.3 adds new features for working with template parsers like Smarty</p>
      <ul>
         <li>Parser class used by <samp>parse_view()</samp> method is now configurable, allowing you to use additional parsers like Smarty</li>
         <li>Master template can now be parsed by a parser class like the CI Template Parser or Smarty</li>
         <li>New, optional parameter added to <samp>render()</samp> method to force parsing of master template</li>
      </ul>
      
      <h3 class="upgrade">Upgrading from 1.2.1 to 1.3</h3>
      <ul>
         <li>Replace <dfn>application/libraries/Template.php</dfn> with the new <dfn>Template.php</dfn> in 1.3</li>
         <li>Optionally update <dfn>config/template.php</dfn> to configure new parser settings (not required).</li>
      </ul>
      
      <h2 id="v121">Version 1.2.1</h2>
      <p>Release Date: August 08, 2008</p>
      <p>Version 1.2.1 fixes a major bug found in 1.1 and 1.2 with the add_css() and add_js() methods. Upgrade RECOMMENDED.</p>
      <ul>
         <li>Fixed bug found in the add_css() and add_js() methods which called an undefined base_path() function, throwing fatal errors.</li>
      </ul>
      
      <h3 class="upgrade">Upgrading from 1.2 to 1.2.1</h3>
      <ul>
         <li>Replace <dfn>application/libraries/Template.php</dfn> with the new <dfn>Template.php</dfn> in 1.2.1</li>
      </ul>
      
      <h2 id="v12">Version 1.2</h2>
      <p>Release Date: August 01, 2008</p>
      <p>Version 1.2 is an update to the Template class API. Includes no bug fixes or new features.</p>
      <ul>
         <li>Deprecated <kbd>load()</kbd> method to avoid confusion with CI's Loader class. Replaced by <samp>render()</samp></li>
         <li>Added <samp>render()</samp> method in place of deprecated <kbd>load()</kbd> method</li>
         <li>Removed undocumented <kbd>display()</kbd> method. Use <samp>render('region')</samp> instead</li>
         <li>Fixed violations of the coding standard</li>
         <li>Updated docs, fixed typos</li>
      </ul>
      
      <h3 class="upgrade">Upgrading from 1.1 to 1.2</h3>
      <ul>
         <li>Replace <dfn>application/libraries/Template.php</dfn> with the new <dfn>Template.php</dfn> in 1.2</li>
         <li>Update all calls to <kbd>load()</kbd> to use <samp>render()</samp> instead</li>
         <li>Update all calls to <kbd>display()</kbd> to use <samp>render('region')</samp> instead</li>
      </ul>
      
      <h2 id="v11">Version 1.1</h2>
      <p>Release Date: July 29, 2008</p>
      <p><em>Template 1.1 was the first public release.</em></p>
            
   </div>
   <!-- END CONTENT -->
   
   <div id="footer">
      <p><a href="#">Top of Page</a></p>
      <p><a href="http://williamsconcepts.com">WillamsConcepts.com</a> &nbsp;&middot;&nbsp; Copyright &#169; 2008 &nbsp;&middot;&nbsp; Colin Williams</p>
      
   </div>
   
   <script type="text/javascript">
      var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
      document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
   </script>
   <script type="text/javascript">
      var pageTracker = _gat._getTracker("UA-1894650-2");
      pageTracker._trackPageview();
   </script>

</body>
</html>